import { createApp } from 'vue'
// import * as Vue from 'vue'
import ElementUI from "element-plus";
import "element-plus/theme-chalk/index.css";
import router from './router'
// import zhCn from 'element-plus/es/locale/lang/zh-cn';
// import ant from 'ant-design-vue'
// # 引入样式表
// import 'ant-design-vue/dist/antd.css'
import App from './App.vue'
// import store from './store'
import { createPinia } from 'pinia'
// import MyLogin from './views/MyLogin.vue'
// import UserList from './views/UserList.vue'
import axios from 'axios'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(router).use(ElementUI).use(createPinia()).mount('#app')
// createApp(MyLogin).use(router).use(ant).mount('#login')
// createApp(UserList).mount("#userlist")

// var host = "http://192.168.1.3:8800/"



// axios.defaults.baseURL =  host

